<template>
  <a-modal :title="`共${storeList.length}家门店`" :visible="currentVisible"  width="600px" :footer="null"
             @cancel="currentVisible = false">
    <ul style="min-height:300px;">
      <li v-for="item in storeList" class="store" :key="item.storeName">{{item.storeName}}</li>
    </ul>
  </a-modal>
</template>

<script>
  export default {
    data() {
      return {
      }
    },
    components: {
    },
    props: {
      visible: {
        type: Boolean,
        default: false
      },
      storeList: {
        type: Array,
        default: []
      },
    },
    computed: {
      currentVisible: {
        get() {
          return this.visible
        },
        set(val) {
          this.$emit('update:visible', val)
        }
      }
    },
    filters: {
    },
    created() {
    },
    methods: {
    }
  }
</script>

<style lang="less" scoped>
  .store{
    margin: 5px;
    line-height: 20px;
    text-align: center;
    font-size: 14px;
  }
</style>
